home *** CD-ROM | disk | FTP | other *** search
- head 1.2;
- branch ;
- access ;
- symbols ;
- locks ; strict;
- comment @ * @;
-
-
- 1.2
- date 90.02.16.12.53.40; author douglis; state Exp;
- branches ;
- next 1.1;
-
- 1.1
- date 89.08.01.15.38.21; author douglis; state Exp;
- branches ;
- next ;
-
-
- desc
- @original ultrix version
- @
-
-
- 1.2
- log
- @use sprite format with ifndefs at starts of files
- @
- text
- @/*
- * $Header: /sprite/lib/forms/RCS/proto.h,v 1.2 89/01/07 04:12:44 rab Exp $ SPRITE (Berkeley)
- */
-
- #ifndef _AOUTHDR
- #define _AOUTHDR
-
- /* @@(#)aouthdr.h 4.1 (ULTRIX) 7/13/88 */
- /* ------------------------------------------------------------------ */
- /* | Copyright Unpublished, MIPS Computer Systems, Inc. All Rights | */
- /* | Reserved. This software contains proprietary and confidential | */
- /* | information of MIPS and its suppliers. Use, disclosure or | */
- /* | reproduction is prohibited without the prior express written | */
- /* | consent of MIPS. | */
- /* ------------------------------------------------------------------ */
-
- /* Copyright (c) 1984 AT&T */
- /* All Rights Reserved */
-
- /* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
- /* The copyright notice above does not evidence any */
- /* actual or intended publication of such source code. */
-
- /*
- * Values for the magic field in aouthdr
- */
- #ifdef LANGUAGE_C
- #define OMAGIC 0407
- #define NMAGIC 0410
- #define ZMAGIC 0413
- #define LIBMAGIC 0443
- #define N_BADMAG(x) \
- (((x).magic)!=OMAGIC && ((x).magic)!=NMAGIC && ((x).magic)!=ZMAGIC && \
- ((x).magic)!=LIBMAGIC)
-
- #endif /* LANGUAGE_C */
- #ifdef LANGUAGE_PASCAL
- #define OMAGIC 8#407
- #define NMAGIC 8#410
- #define ZMAGIC 8#413
- #define LIBMAGIC 8#443
- #endif /* LANGUAGE_PASCAL */
-
- #ifdef LANGUAGE_C
- typedef struct aouthdr {
- short magic; /* see above */
- short vstamp; /* version stamp */
- long tsize; /* text size in bytes, padded to DW bdry*/
- long dsize; /* initialized data " " */
- long bsize; /* uninitialized data " " */
- #if u3b
- long dum1;
- long dum2; /* pad to entry point */
- #endif
- long entry; /* entry pt. */
- long text_start; /* base of text used for this file */
- long data_start; /* base of data used for this file */
- #if mips
- long bss_start; /* base of bss used for this file */
- long gprmask; /* general purpose register mask */
- long cprmask[4]; /* co-processor register masks */
- long gp_value; /* the gp value used for this object */
- #endif /* mips */
- } AOUTHDR;
- #define AOUTHSZ sizeof(AOUTHDR)
- #endif /* LANGUAGE_C */
-
- #ifdef LANGUAGE_PASCAL
- type
- aouthdr = packed record
- magic : short; /* see magic.h */
- vstamp : short; /* version stamp */
- tsize : long; /* text size in bytes, padded to FW */
- /* bdry */
- dsize : long; /* initialized data " " */
- bsize : long; /* uninitialized data " " */
- #if u3b
- dum1 : long;
- dum2 : long; /* pad to entry point */
- #endif
- entry : long; /* entry pt. */
- text_start : long; /* base of text used for this file */
- data_start : long; /* base of data used for this file */
- bss_start : long; /* base of bss used for this file */
- gprmask : long; /* general purpose register mask */
- cprmask : array[0..3] of long; /* co-processor register masks */
- gp_value : long; /* the gp value used for this object */
- end {record};
- #endif /* LANGUAGE_PASCAL */
-
- #endif /* _AOUTHDR */
- @
-
-
- 1.1
- log
- @Initial revision
- @
- text
- @d1 7
- d91 1
- @
-